#pragma once

#include <afxtempl.h>
//#include "StaticLargeText.h"
//#include "BkButton.h"
#include "afxwin.h"

#define COMBOBOX_HETGHT			200

typedef CList<CRect, CRect> CListRect;

// CMaxDisplayDlg dialog

class CMaxDisplayDlg : public CDialog
{
	DECLARE_DYNAMIC(CMaxDisplayDlg)

	typedef struct _ListData_
	{
		CString		szDate;
		CString		szTime;
		CString     szStage;
		CString		szErrorCount[5];
		_ListData_	*pNext;
	}ListItem,*PListItem;

public:
	CMaxDisplayDlg(UINT nID, CWnd* pParent /*=NULL*/);   // standard constructor
	virtual ~CMaxDisplayDlg();
	virtual BOOL OnInitDialog();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg LRESULT OnNcHitTest(CPoint point);
	DECLARE_MESSAGE_MAP()

public:
	void SearchAllControl();
	void MaximizeWindow();

protected:
	CListRect m_listRect;
	CFont*    m_pCFont;
	BOOL	  m_bNeedZoomFont;
	BOOL	  m_bNumKeyDialog;
};
